﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VisionCloud.Domain.DtoModel.Sys
{
    public enum LockStatus
    {
        Unlock = 0,
        Locked = 1
    }

    public class LockerInfo
    {
        /// <summary>
        /// 锁定的用户
        /// </summary>
        public string LockUserCode { get; set; }

        /// <summary>
        /// 锁定到的时间
        /// </summary>
        public DateTime LockToDateTime { get; set; }

        /// <summary>
        /// 错误次数
        /// </summary>
        public int ErrorTime { get; set; }

        /// <summary>
        /// 锁定状态 1锁定
        /// </summary>
        public LockStatus Status { get; set; } = LockStatus.Unlock;
    }
}
